package com.hibegin.http.server.util;

public enum HttpMethod {
    OPTIONS("OPTIONS"),
    HEAD("HEAD"),
    GET("GET"),
    POST("POST"),
    //PUT("PUT"),
    //DELETE("DELETE"),
    //CONNECT("CONNECT"), // 不支持 HTTP-Connect 代理
    //TRACE("TRACE"),
    ;

    private String method;

    HttpMethod(String method) { this.method = method; }

    @Override
    public String toString() { return method; }
}
